package com.lw.mapper;


import com.lw.common.vo.VisitCount;
import com.lw.common.vo.VisitStatsBO;
import com.lw.entity.TbLog;
import com.mybatisflex.core.BaseMapper;

import java.util.List;

public interface TbLogMapper extends BaseMapper<TbLog> {
    List<VisitCount> getPvCounts(String startDate, String endDate);

    List<VisitCount> getIpCounts(String startDate, String endDate);

    /**
     * 获取浏览量(PV)统计
     */
    VisitStatsBO getPvStats();

    /**
     * 获取访问IP统计
     */
    VisitStatsBO getUvStats();
}
